/*
 * CS575 Software Design
 * Group 6
 * Group Members: Anthony Davidson, Kendra Scheesley, Lyndsey Whitman, Stephen Zakrewsky
 * Date: May 19, 2012
 * Main Author(s): Anthony Davidson
 */
package edu.drexel.cs575.a3.location;

import java.util.Locale;

/**
 * The LocaleEnum encapsulates the finite list of locales.
 * 
 * @author anthony
 *
 */
public enum LocaleEnum
{
	US(Locale.US, 9.8, "USA"), CANADA(Locale.CANADA, 9.8, "CANADA"), MEXICO(new Locale("es_MX_", "MX"), 9.8, "Mexico"), MOON(new Locale("mm", "MN"), 1.63, "Moon");
	
	private Locale locale;
	private double gravitationalAcceleration;
	private String countryName;
	
	LocaleEnum(Locale locale, double gravitationalAcceleration, String countryName)
	{
		this.locale = locale;
		this.gravitationalAcceleration = gravitationalAcceleration;
		this.countryName = countryName;
	}
	
	public Locale getLocale()
	{
		return locale;
	}
	
	public double getGravitationalAcceleration()
	{
		return gravitationalAcceleration;
	}
	
	public String getCountryName() {
		return countryName;
	}
	
	/* For testing
	public static void main(String[] args) {
		System.out.println(Currency.getInstance(LocaleEnum.MOON.locale).getSymbol());
	}
	*/
}
